package com.mall.service;

import com.github.pagehelper.PageInfo;
import com.mall.common.model.GlobalResponse;
import com.mall.vo.OrderVO;

import java.util.Map;

/**
 * @Classname IOrderService
 * @Description
 * @Date 2022/7/31 19:05
 * @Created by TaoVh
 */
public interface IOrderService {

    GlobalResponse<OrderVO> create(Integer uid, Integer shippingId);

    GlobalResponse<PageInfo> list(Integer uid,Integer pageNum,Integer pageSize);

    GlobalResponse<OrderVO> detail(Integer uid,Long orderNo);

    GlobalResponse unOrder(Integer uid,Long orderNo);

    void paid(long orderNo);
}
